home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Sound / Include / SndPartDef.h < prev   
Encoding:
Text File  |  1994-04-21  |  1.6 KB  |  55 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                            SndPartDef.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                        Lonnie Millett
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef SNDPARTDEF_H
  14. #define SNDPARTDEF_H
  15.  
  16. // Kind
  17. #define kSampleSndKind "Apple:OSType:Scrap:snd "
  18.  
  19. // Class ID
  20. #define kCSndPartID "appl:framework:sample:sndpart$class"
  21.  
  22. // Editor User String
  23. #define kSampleSndEditorUserString "Sample Snd 1.0"
  24.  
  25. // Kind User String
  26. #define kSampleSndKindUserString "Sample Snd"
  27.  
  28. // Category User String
  29. #define kSampleSndCategoryUserString "Sound"
  30.  
  31. // snd OSType
  32. #define kSampleSndOSType 'snd '
  33.  
  34. #ifdef ASLMBUILD
  35. #define FW_kKindCategoryMapId        kNMAPid+1
  36. #define FW_kEditorKindMapId            kNMAPid+2
  37. #define FW_kEditorUserStringMapId    kNMAPid+3
  38. #define FW_kKindUserStringMapId        kNMAPid+4
  39. #define FW_kCategoryUserStringMapId    kNMAPid+5
  40. #define FW_kOldMacOSTypeMapId        kNMAPid+6
  41. #else
  42. // For the static build, the value of FW_kKindCategoryMap must pick up where the last part
  43. // left off. kNMAPid+25 is the last value used by the engineer's test parts.
  44. #define FW_kKindCategoryMapId        kNMAPid+26
  45. #define FW_kEditorKindMapId            kNMAPid+27
  46. #define FW_kEditorUserStringMapId    kNMAPid+28
  47. #define FW_kKindUserStringMapId        kNMAPid+29
  48. #define FW_kCategoryUserStringMapId    kNMAPid+30
  49. #define FW_kOldMacOSTypeMapId        kNMAPid+31
  50. // Our clock part picks up with kNMAPid+32, see CClockDef.h
  51. #endif
  52.  
  53. #endif
  54.  
  55.